import { makeObservable, observable } from 'mobx';
import { UserInfoRes } from '@/service/types/user';

export default class UserStore {
  info: UserInfoRes;

  constructor() {
    makeObservable(this, {
      info: observable,
    });
  }

  setInfo(info: UserInfoRes) {
    this.info = info;
  }
}
